import java.util.Scanner;

public class Luck {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入会员号");
        int a = input.nextInt();
        int geweishu = a % 10;
        int shiweishu = (a / 10) % 10;
        int baiweishu = (a / 100) % 10;
        int qianweishu = a / 1000;
        int sum = geweishu + shiweishu + baiweishu + qianweishu;
        if (sum > 24) {
            System.out.println("恭喜您，您中奖了，奖品是彩电一台");
        } else if (sum > 20) {
            System.out.println("恭喜您，您中奖了，奖品是电吹风一部");
        } else if (sum > 16) {
            System.out.println("恭喜您，您中奖了，奖品是餐巾纸一包");
        } else {
            System.out.println("下次继续努力");
        }


    }
}
